package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.CertificateClassify;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by zpc on 2017/7/11.
 * 卡券分类
 */
public interface CertificateClassifyService {


    List<CertificateClassify> getCertificateClassifyList(Map<String, String> map)  throws MyRunTimeExcption;

    CertificateClassify selectCertificateClassifyById(Long tid) throws MyRunTimeExcption;
    CertificateClassify selectCertificateClassifyByProductEntityId(Long productEntityId) throws MyRunTimeExcption;

    PageInfo getPageInfoCertificateClassifyList(Map<String, String> map) throws MyRunTimeExcption;

    /**
     * 更新卡券分类
     * @param certificateClassify
     * @throws MyRunTimeExcption
     */
    void ModifyCertificateClassify(CertificateClassify certificateClassify) throws MyRunTimeExcption;
}
